cmake_minimum_required(VERSION 3.8)
project(generate_parameters_header)

find_package(ament_cmake REQUIRED)

install(
  PROGRAMS scripts/generate_parameters.py
  DESTINATION lib/${PROJECT_NAME}
)

install(
  DIRECTORY templates/
  DESTINATION share/${PROJECT_NAME}/templates
)

install(
  FILES cmake/generate_parameters_header.cmake
  DESTINATION share/${PROJECT_NAME}
)

ament_export_dependencies(ament_cmake) 

ament_package(
  CONFIG_EXTRAS 
    "cmake/generate_parameters_header.cmake"
)